Optimal. Leaf size=32 \[ \frac{A (a \sin (e+f x)+a)^m (g \cos (e+f x))^{p+1}}{f g} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.117022, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.025, Rules used = {2854} \[ \frac{A (a \sin (e+f x)+a)^m (g \cos (e+f x))^{p+1}}{f g} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2854
Rubi steps
\begin{align*} \int (g \cos (e+f x))^p (a+a \sin (e+f x))^m (A m-A (1+m+p) \sin (e+f x)) \, dx &=\frac{A (g \cos (e+f x))^{1+p} (a+a \sin (e+f x))^m}{f g}\\ \end{align*}
Mathematica [A] time = 0.172178, size = 33, normalized size = 1.03 \[ \frac{A \cos (e+f x) (a (\sin (e+f x)+1))^m (g \cos (e+f x))^p}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 4.252, size = 0, normalized size = 0. \begin{align*} \int \left ( g\cos \left ( fx+e \right ) \right ) ^{p} \left ( a+a\sin \left ( fx+e \right ) \right ) ^{m} \left ( Am-A \left ( 1+m+p \right ) \sin \left ( fx+e \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int{\left (A{\left (m + p + 1\right )} \sin \left (f x + e\right ) - A m\right )} \left (g \cos \left (f x + e\right )\right )^{p}{\left (a \sin \left (f x + e\right ) + a\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.55306, size = 81, normalized size = 2.53 \begin{align*} \frac{\left (g \cos \left (f x + e\right )\right )^{p}{\left (a \sin \left (f x + e\right ) + a\right )}^{m} A \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]